package com.huatai.saas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @BelongsProject: nanming-saas
 * @BelongsPackage: com.huatai.saas.entity
 * @Author: hecaiy
 * @CreateTime: 2024-04-11  19:18
 * @Description: TODO 文件列表
 * @Version: 1.0
 */
@TableName("file_list")
@Data
@ApiModel(value = "文件列表", description = "文件列表")
public class FileListEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	@ApiModelProperty(value = "文件名称")
	private String fileName;
	@ApiModelProperty(value = "文件唯一标识")
	private String identifier;
	@ApiModelProperty(value = "文件存储地址")
	private String path;
	@TableField("total_size")
	@ApiModelProperty(value = "总大小")
	private Long totalSize;

	@TableField(exist = false)
	private String url;
}
